package com.tqjc.system.C24012.common.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: 86195
 * @CreateTime: 2024-07-10  16:02
 * @Description: TODO
 * @Version: 1.0
 */
@TableName("tqjc_zy_message_send_record")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysMessageSendRecordEntity {

    //主键
    @TableId(type = IdType.UUID)
    private Long id;

    //接受时间
    private LocalDateTime sendDate;

    //信息体
    private String messageBody;

    //发送方
    private String accept;

    //信息处理状态
    private String status;

    //失败原因
    private String errMsg;

    @TableField(value="CREATE_NAME", fill= FieldFill.INSERT)
    private String createName;

    @TableField(value="CREATE_DATE", fill=FieldFill.INSERT)
    private LocalDateTime createDate;

    @TableField(value="UPDATE_NAME", fill=FieldFill.UPDATE)
    private String updateName;

    @TableField(value="UPDATE_DATE", fill=FieldFill.UPDATE)
    private LocalDateTime updateDate;

}
